function getPageContent(){
    var html_content = document.getElementsByTagName('html')[0].innerHTML;
    html_content = html_content.replace(/\</g,"&lt;");
    html_content = html_content.replace(/\>/g,"&gt;");
    layer.open({
        title : "source_code",
        content : html_content
    });
}